Choosing a Stats Test

Inferential Statistics

Paired vs unpaired

Types of Data

How many measurements?

Test for Comparison

Table 1:

Type of DataTwo GroupsMore than two Groups
NominalChi-square test or Fisher’s exact test
Ordinal or SkewedMann–Whitney U-test (Wilcoxon rank sum test)Kruskal–Wallis test*
Normally distributedUnpaired t-testAnalysis of variance (ANOVA)*

* To be followed by post hoc testing

Table 2:

Type of DataTwo GroupsMore than two groups
NominalMcNemar’s TestCochran’s Q
Ordinal or SkewedWilcoxon signed rank testFriedman test*
Normally distributedPaired t-testRepeated measures (ANOVA)*

Tests for Association

Type of DataTest
Correlation
Both variables normally distributedPearson’s correlation coefficient
One or both variables ordinal or skewedSpearman’s or Kendall’s correlation coefficient
Nominal dataChi-square test; odds ratio or relative risk (for binary outcomes)
Regression
Continuous outcomeLinear regression analysis
Categorical outcome (binary)Logistic regression analysis

Tests for Agreement between Measures

Type of DataTest
Categorical dataCohen’s kappa
Numerical dataIntraclass correlation coefficient (numerical) and Bland–Altman plot (graphical display)

Normality Testing

Issues

Graphical Tests

Resources: